<!DOCTYPE html>
<html >
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> 数据类型 </title>
</head>
<body>
    
</body>
<script>
    let a=23;
    console.log(a,typeof(a));

    a=3.14;
    console.log(a,typeof(a));

    a=true;
    console.log(a,typeof(a));

    a=false;
    console.log(a,typeof(a));

    a='c';
    console.log(a,typeof(a));

    a="b";
    console.log(a,typeof(a));

    a='zxcvb';
    console.log(a,typeof(a));

    a={};
    console.log(a,typeof(a));

    a=[];
    console.log(a,typeof(a));





     
 
</script>
</html>